EAPI="2"

DESCRIPTION="Gentoo Portage syncer for Paludis with GPG signature verification"
LICENSE="GPL"
SLOT="0"
KEYWORDS="amd64 x86 arm"
IUSE=""
PDEPEND="app-crypt/gnupg"

src_install() {
	exeinto /usr/share/paludis/syncers
	doexe "${FILESDIR}"/dogentoo

	dodir /usr/share/gentoo-syncer
	tar xf "${FILESDIR}"/gpg.tar.bz2 -C "${D}"/usr/share/gentoo-syncer --no-same-owner || die "failed to untar"

	dodoc "${FILESDIR}"/gentoo.conf

	dodir /var/tmp/gentoo-syncer
	keepdir /var/tmp/gentoo-syncer
}
